package com.sbl.bajw.pc.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.mapper.XSJQModelDao;
import com.sbl.bajw.pc.model.XSJQModel;

@Service
public class XSJQModelService {
	
	@Resource
	private XSJQModelDao dao;
	
	public List<XSJQModel> getXSJQModel(HashMap<String, Object> parm) throws Exception{
		List<XSJQModel> list = dao.getXSJQModel(parm);
		return list;
	}
	
	public List<Map<String, String>> getCountByAlarmLevel() throws Exception{
		List<Map<String, String>> list = dao.getCountByAlarmLevel();
		return list;
	}
}
